package com.collection.api.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ApplyAuditExample {
	
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ApplyAuditExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdIsNull() {
            addCriterion("apply_main_id is null");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdIsNotNull() {
            addCriterion("apply_main_id is not null");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdEqualTo(Integer value) {
            addCriterion("apply_main_id =", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdNotEqualTo(Integer value) {
            addCriterion("apply_main_id <>", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdGreaterThan(Integer value) {
            addCriterion("apply_main_id >", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_main_id >=", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdLessThan(Integer value) {
            addCriterion("apply_main_id <", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdLessThanOrEqualTo(Integer value) {
            addCriterion("apply_main_id <=", value, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdIn(List<Integer> values) {
            addCriterion("apply_main_id in", values, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdNotIn(List<Integer> values) {
            addCriterion("apply_main_id not in", values, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdBetween(Integer value1, Integer value2) {
            addCriterion("apply_main_id between", value1, value2, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andApplyMainIdNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_main_id not between", value1, value2, "applyMainId");
            return (Criteria) this;
        }

        public Criteria andOpinionIsNull() {
            addCriterion("opinion is null");
            return (Criteria) this;
        }

        public Criteria andOpinionIsNotNull() {
            addCriterion("opinion is not null");
            return (Criteria) this;
        }

        public Criteria andOpinionEqualTo(String value) {
            addCriterion("opinion =", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotEqualTo(String value) {
            addCriterion("opinion <>", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionGreaterThan(String value) {
            addCriterion("opinion >", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionGreaterThanOrEqualTo(String value) {
            addCriterion("opinion >=", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLessThan(String value) {
            addCriterion("opinion <", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLessThanOrEqualTo(String value) {
            addCriterion("opinion <=", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLike(String value) {
            addCriterion("opinion like", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotLike(String value) {
            addCriterion("opinion not like", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionIn(List<String> values) {
            addCriterion("opinion in", values, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotIn(List<String> values) {
            addCriterion("opinion not in", values, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionBetween(String value1, String value2) {
            addCriterion("opinion between", value1, value2, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotBetween(String value1, String value2) {
            addCriterion("opinion not between", value1, value2, "opinion");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNull() {
            addCriterion("audit_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNotNull() {
            addCriterion("audit_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdEqualTo(String value) {
            addCriterion("audit_user_id =", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotEqualTo(String value) {
            addCriterion("audit_user_id <>", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThan(String value) {
            addCriterion("audit_user_id >", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("audit_user_id >=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThan(String value) {
            addCriterion("audit_user_id <", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThanOrEqualTo(String value) {
            addCriterion("audit_user_id <=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLike(String value) {
            addCriterion("audit_user_id like", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotLike(String value) {
            addCriterion("audit_user_id not like", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIn(List<String> values) {
            addCriterion("audit_user_id in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotIn(List<String> values) {
            addCriterion("audit_user_id not in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdBetween(String value1, String value2) {
            addCriterion("audit_user_id between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotBetween(String value1, String value2) {
            addCriterion("audit_user_id not between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNull() {
            addCriterion("audit_time is null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNotNull() {
            addCriterion("audit_time is not null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeEqualTo(Date value) {
            addCriterion("audit_time =", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotEqualTo(Date value) {
            addCriterion("audit_time <>", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThan(Date value) {
            addCriterion("audit_time >", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("audit_time >=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThan(Date value) {
            addCriterion("audit_time <", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThanOrEqualTo(Date value) {
            addCriterion("audit_time <=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIn(List<Date> values) {
            addCriterion("audit_time in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotIn(List<Date> values) {
            addCriterion("audit_time not in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeBetween(Date value1, Date value2) {
            addCriterion("audit_time between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotBetween(Date value1, Date value2) {
            addCriterion("audit_time not between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<String> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(String value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(String value) {
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(String value) {
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(String value) {
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(String value) {
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLike(String value) {
            addCriterion("update_user_id like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotLike(String value) {
            addCriterion("update_user_id not like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<String> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<String> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(String value1, String value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(String value1, String value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andIsIdnoIsNull() {
            addCriterion("is_idno is null");
            return (Criteria) this;
        }

        public Criteria andIsIdnoIsNotNull() {
            addCriterion("is_idno is not null");
            return (Criteria) this;
        }

        public Criteria andIsIdnoEqualTo(String value) {
            addCriterion("is_idno =", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoNotEqualTo(String value) {
            addCriterion("is_idno <>", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoGreaterThan(String value) {
            addCriterion("is_idno >", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoGreaterThanOrEqualTo(String value) {
            addCriterion("is_idno >=", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoLessThan(String value) {
            addCriterion("is_idno <", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoLessThanOrEqualTo(String value) {
            addCriterion("is_idno <=", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoLike(String value) {
            addCriterion("is_idno like", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoNotLike(String value) {
            addCriterion("is_idno not like", value, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoIn(List<String> values) {
            addCriterion("is_idno in", values, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoNotIn(List<String> values) {
            addCriterion("is_idno not in", values, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoBetween(String value1, String value2) {
            addCriterion("is_idno between", value1, value2, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsIdnoNotBetween(String value1, String value2) {
            addCriterion("is_idno not between", value1, value2, "isIdno");
            return (Criteria) this;
        }

        public Criteria andIsDrivingIsNull() {
            addCriterion("is_driving is null");
            return (Criteria) this;
        }

        public Criteria andIsDrivingIsNotNull() {
            addCriterion("is_driving is not null");
            return (Criteria) this;
        }

        public Criteria andIsDrivingEqualTo(String value) {
            addCriterion("is_driving =", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingNotEqualTo(String value) {
            addCriterion("is_driving <>", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingGreaterThan(String value) {
            addCriterion("is_driving >", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingGreaterThanOrEqualTo(String value) {
            addCriterion("is_driving >=", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingLessThan(String value) {
            addCriterion("is_driving <", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingLessThanOrEqualTo(String value) {
            addCriterion("is_driving <=", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingLike(String value) {
            addCriterion("is_driving like", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingNotLike(String value) {
            addCriterion("is_driving not like", value, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingIn(List<String> values) {
            addCriterion("is_driving in", values, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingNotIn(List<String> values) {
            addCriterion("is_driving not in", values, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingBetween(String value1, String value2) {
            addCriterion("is_driving between", value1, value2, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsDrivingNotBetween(String value1, String value2) {
            addCriterion("is_driving not between", value1, value2, "isDriving");
            return (Criteria) this;
        }

        public Criteria andIsExcessIsNull() {
            addCriterion("is_excess is null");
            return (Criteria) this;
        }

        public Criteria andIsExcessIsNotNull() {
            addCriterion("is_excess is not null");
            return (Criteria) this;
        }

        public Criteria andIsExcessEqualTo(String value) {
            addCriterion("is_excess =", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessNotEqualTo(String value) {
            addCriterion("is_excess <>", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessGreaterThan(String value) {
            addCriterion("is_excess >", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessGreaterThanOrEqualTo(String value) {
            addCriterion("is_excess >=", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessLessThan(String value) {
            addCriterion("is_excess <", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessLessThanOrEqualTo(String value) {
            addCriterion("is_excess <=", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessLike(String value) {
            addCriterion("is_excess like", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessNotLike(String value) {
            addCriterion("is_excess not like", value, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessIn(List<String> values) {
            addCriterion("is_excess in", values, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessNotIn(List<String> values) {
            addCriterion("is_excess not in", values, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessBetween(String value1, String value2) {
            addCriterion("is_excess between", value1, value2, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessNotBetween(String value1, String value2) {
            addCriterion("is_excess not between", value1, value2, "isExcess");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitIsNull() {
            addCriterion("is_excess_submit is null");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitIsNotNull() {
            addCriterion("is_excess_submit is not null");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitEqualTo(String value) {
            addCriterion("is_excess_submit =", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitNotEqualTo(String value) {
            addCriterion("is_excess_submit <>", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitGreaterThan(String value) {
            addCriterion("is_excess_submit >", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitGreaterThanOrEqualTo(String value) {
            addCriterion("is_excess_submit >=", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitLessThan(String value) {
            addCriterion("is_excess_submit <", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitLessThanOrEqualTo(String value) {
            addCriterion("is_excess_submit <=", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitLike(String value) {
            addCriterion("is_excess_submit like", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitNotLike(String value) {
            addCriterion("is_excess_submit not like", value, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitIn(List<String> values) {
            addCriterion("is_excess_submit in", values, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitNotIn(List<String> values) {
            addCriterion("is_excess_submit not in", values, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitBetween(String value1, String value2) {
            addCriterion("is_excess_submit between", value1, value2, "isExcessSubmit");
            return (Criteria) this;
        }

        public Criteria andIsExcessSubmitNotBetween(String value1, String value2) {
            addCriterion("is_excess_submit not between", value1, value2, "isExcessSubmit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}